Skip to content

feat(feature-flags): generalize driver-side cache - #543

Draft
cathleeny wants to merge 3 commits into
mainfrom
cathleeny/general-driver-flags
Draft

cathleeny wants to merge 3 commits into
mainfrom
cathleeny/general-driver-flags

Conversation

@cathleeny

@cathleeny cathleeny commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Move the existing feature-flag cache into driver scope and cache all returned flag values.
  • Add typed getters for Boolean, int32, int64, double, string, and string list; use BigInt for exact int64 values.
  • Share values by workspace ID, with normalized host as a fallback, while keeping authentication and transport caller-owned.

Validation

  • 1,350 unit tests passing.
  • Driver build passed.
  • ESLint and Prettier checks passed for the updated cache.
  • Covers typed values, workspace sharing, TTL refresh/failure behavior, and reconnect/close cleanup.

Signed-off-by: Cathleen Yan <58714163+cathleeny@users.noreply.github.com>
Signed-off-by: Cathleen Yan <58714163+cathleeny@users.noreply.github.com>
Signed-off-by: Cathleen Yan <58714163+cathleeny@users.noreply.github.com>

This branch had an error being deployed

1 failed deployment
azure-prod — f61216c6 Deployed Oct 7, 2026 by cathleeny via e2e-test (22) #1649
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant